package com.axjy.dao;

import com.axjy.dto.RoomsDto;
import com.axjy.pojo.Rooms;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Miles on 2018/1/29.
 */
public interface RoomsMapper {

    List<Rooms> findRows(@Param("offser")int offset, @Param("limit")int limit, @Param("dto")RoomsDto dto);

    Integer findTotal(@Param("dto") RoomsDto dto);
}
